<div>
    <div class="row" v-if="govPartyOrgManageInfo.componentShow == 'govPartyOrgManage'">
        <div class="col-lg-12">
            <div class="ibox ">
                <div class="ibox-title">
                    <h5>查询条件</h5>
                </div>
                <div class="ibox-content">
                    <div class="row">
                        <div class="col-sm-4">
                            <div class="form-group">
                                <input type="text" placeholder="请输入组织名称"
                                    v-model="govPartyOrgManageInfo.conditions.orgName" class=" form-control">
                            </div>
                        </div>
                        <div class="col-sm-3">
                            <div class="form-group">
                                <input type="text" placeholder="请输入负责人"
                                    v-model="govPartyOrgManageInfo.conditions.personName" class=" form-control">
                            </div>
                        </div>
                        <div class="col-sm-4" v-if="govPartyOrgManageInfo.moreCondition == true">
                            <div class="form-group">
                                <input type="text" placeholder="请输入党组织级别"
                                    v-model="govPartyOrgManageInfo.conditions.orgLevel" class=" form-control">
                            </div>
                        </div>
                        <div class="col-sm-1">
                            <button type="button" class="btn btn-primary btn-sm" v-on:click="_queryGovPartyOrgMethod()">
                                <i class="glyphicon glyphicon-search"></i> 查询
                            </button>
                        </div>
                    </div>


                </div>
            </div>
        </div>
    </div>
    <div class="row" v-if="govPartyOrgManageInfo.componentShow == 'govPartyOrgManage'">
        <div class="col-lg-12">
            <div class="ibox">
                <div class="ibox-title">
                    <h5>党组织</h5>
                    <div class="ibox-tools" style="top:10px;">
                        <button type="button" class="btn btn-primary btn-sm" v-on:click="_openAddGovPartyOrgModal()">
                            <i class="glyphicon glyphicon-plus"></i>
                            添加
                        </button>
                    </div>
                </div>
                <div class="ibox-content">

                    <table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
                        <thead>
                            <tr>
                                <th class="text-center">组织名称</th>
                                <th class="text-center">上级组织名称</th>
                                <th class="text-center">组织编号</th>
                                <th class="text-center">名称简称</th>
                                <th class="text-center">负责人</th>
                                <th class="text-center">负责电话</th>
                                <th class="text-center">党组织级别</th>
                                <th class="text-center">是否建立党组织</th>
                                <th class="text-center">数据来源</th>
                                <th class="text-center">操作</th>


                            </tr>
                        </thead>
                        <tbody>
                            <tr v-for="govPartyOrg in govPartyOrgManageInfo.govPartyOrgs">
                                <td class="text-center">{{govPartyOrg.orgName}}</td>
                                <td class="text-center">{{govPartyOrg.preOrgName}}</td>
                                <td class="text-center">{{govPartyOrg.orgCode}}</td>
                                <td class="text-center">{{govPartyOrg.orgSimpleName}}</td>
                                <td class="text-center">{{govPartyOrg.personName}}</td>
                                <td class="text-center">{{govPartyOrg.personTel}}</td>
                                <td class="text-center">{{govPartyOrg.orgLevel == '1001'?'社区（居委，村委）':'小区'}}</td>
                                <td class="text-center">{{govPartyOrg.orgFlag == '01'?'建立党组织':'不建立党组织'}}</td>
                                <td class="text-center">{{govPartyOrg.datasourceType == '999999'?'政务系统':'物业系统'}}</td>
                                <td class="text-center">
                                    <div class="btn-group">
                                        <button class="btn-white btn btn-xs"
                                            v-on:click="_openEditGovPartyOrgModel(govPartyOrg)">修改</button>
                                    </div>
                                    <div class="btn-group">
                                        <button class="btn-white btn btn-xs"
                                            v-on:click="_openDeleteGovPartyOrgModel(govPartyOrg)">删除</button>
                                    </div>
                                </td>

                            </tr>
                        </tbody>
                        <tfoot>
                            <tr>
                                <td colspan="7">
                                    <ul class="pagination float-right"></ul>
                                </td>
                            </tr>
                        </tfoot>
                    </table>
                    <!-- 分页 -->
                    <vc:create path="frame/pagination"></vc:create>
                </div>
            </div>
        </div>
    </div>



 
    <div v-bind:class="{no_display:govPartyOrgManageInfo.componentShow != 'addGovPartyOrg'}">
        <vc:create path="gov/addGovPartyOrg" callBackListener="" callBackFunction=""></vc:create>
    </div>
    <div v-bind:class="{no_display:govPartyOrgManageInfo.componentShow != 'editGovPartyOrg'}">
        <vc:create path="gov/editGovPartyOrg"></vc:create>
    </div>
    <vc:create path="gov/deleteGovPartyOrg"></vc:create>

</div>